package com.bsoft.gol.hcb.dao.prescriptionCirculation;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import pcn.prescriptionCirculation.OdsOrderExpenseDetail;

import java.util.List;

/**
 * @description: 订单医技明细表
 * @author: chenJij@bsoft.com.cn
 * @date: 2021/8/30
 */
public abstract class OdsOrderExpenseDetailDAO extends HibernateSupportDelegateDAO<OdsOrderExpenseDetail> {
    public OdsOrderExpenseDetailDAO() {
        this.setKeyField("orderExpenseDetailId");
    }

    @DAOMethod(sql = "from OdsOrderExpenseDetail where orderExpenseId =:orderExpenseId")
    public abstract List<OdsOrderExpenseDetail> findByOrderExpenseId(@DAOParam("orderExpenseId")String orderExpenseId);
}
